package com.learn;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @EnableEurekaClient：开启Eureka Client，服务提供者启动后自动向Eureka Server处注册自己
 */
@SpringBootApplication
@EnableEurekaClient
public class DeptApplication8002 {
    public static void main(String[] args) {
        SpringApplication.run(DeptApplication8002.class, args);
    }
}
